﻿using NetDh.Cache;
using NetDh.DbUtility;
using NetDh.EasyLogger;
using NetDh.TestEntity;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace NetDh.TestConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            NetDhExample.TestMain();
            Console.ReadLine();
        }
        /// <summary>
        /// 封装Console.WriteLine，增加显示当前时间和线程Id
        /// </summary>
        /// <param name="info"></param>
        public static string Trace(string info)
        {
            string msg = string.Format("{0} ThreadId:{1} {2}", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff"), Thread.CurrentThread.ManagedThreadId, info);
            Console.WriteLine(msg);
            return msg;
        }
    }
}
